home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / terminal / tput10a.not < prev    next >
Encoding:
Text File  |  1996-11-16  |  1.3 KB  |  53 lines

  1. GNU tput 1.0
  2. Binaries for Linux prepared by faith@cs.unc.edu, Wed Dec 23 20:07:35 1992
  3. Compiled with gcc 2.2.2d7 (-O6)
  4. Linked with jump-4.1 libraries (-s), but tested with jump-4.2 libraries
  5.  
  6.  
  7. To install from Linux binary distribution:
  8.  
  9. 1) Get binary distribution (tput10A.taz) from
  10. ftp.cs.unc.edu:/pub/faith/linux/utils or from
  11. tsx-11.mit.edu:/pub/linux/binaries/FSF
  12. 2) cd /
  13. 3) gtar zpxvf tput10A.taz
  14.  
  15. Alternatively, the SLS sysinstall program can be used.
  16.  
  17.  
  18. To uninstall this binary distribution, do the following:
  19.  
  20. cd /usr/src/tput-1.0
  21. ./tput10A.Unins
  22.  
  23.  
  24. To install from source:
  25.  
  26. 1) Get source from: prep.ai.mit.edu:/pub/gnu/tput-1.0.tar.Z
  27. 2) Untar tput-1.0.tar.Z in /usr/src
  28. 3) cd tput-1.0
  29. 4) patch < tput-10A.Notes      [no editing needed!]
  30. 5) ./configure
  31. 6) make bindir=/usr/bin CC=gcc CFLAGS=-O6 LDFLAGS=-s
  32. 7) make bindir=/usr/bin CC=gcc CFLAGS=-O6 LDFLAGS=-s install
  33. 8) makeinfo tput.texinfo
  34. 9) cp tput.info* /usr/emacs/info
  35.  
  36. The following are diffs against the FSF source distribution:
  37.  
  38. *** tput.c.old    Wed Dec 23 20:00:44 1992
  39. --- tput.c    Wed Dec 23 20:01:22 1992
  40. ***************
  41. *** 30,35 ****
  42. --- 30,39 ----
  43.   #include <stdio.h>
  44.   #include <signal.h>
  45.   #include <sgtty.h>
  46. + #ifdef linux
  47. + #define stty(fd,buf)
  48. + #define gtty(fd,buf)
  49. + #endif
  50.   #include <termcap.h>
  51.   #include <getopt.h>
  52.   #include "tput.h"
  53.